package com.yunmaozj.tools.lock.service.impl;

import com.yunmaozj.tools.lock.annotations.DistributedLock;
import com.yunmaozj.tools.lock.domain.User;
import com.yunmaozj.tools.lock.service.UserService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.lang.reflect.Method;

/**
 * @author 钟明宏
 * @version V1.0
 * @date 2021-08-23 20:49
 **/
@Service
public class UserServiceImpl implements UserService {

    @Override
    public User getUserById(int userid) {
        return new User(userid, "Strickland", 10);
    }

}
